package com.sy.olddriver.dto;

import com.sy.olddriver.entity.Category;

import java.util.List;

/**
 * 分类信息节点对象
 *
 * @author Administrator
 */
public class CategoryNode {
    /**
     * 当前分类本身的信息
     */
    private Category self;
    /**
     * 当前分类的子分类信息
     */
    private List<CategoryNode> children;

    public Category getSelf() {
        return self;
    }

    public void setSelf(Category self) {
        this.self = self;
    }

    public List<CategoryNode> getChildren() {
        return children;
    }

    public void setChildren(List<CategoryNode> children) {
        this.children = children;
    }
}
